<div ng-controller="templateUrlCtrl as Ctrl">
	<form name="form">
		<input type="text" name="input" ng-model="Ctrl.name" required ng-maxlength="10">
		<p ng-click="Ctrl.handle()">{{form.input.$error}}</p>
	</form>
</div>
